 <div class="kt-g1">
		<div class=" kt-right">
	   		<ul class="lst-tabs">
	   		   	<li id="icon-models" class="active"><a href="<?php echo $this->base.'/admin/ktmodels' ?>"><span class="icon"></span><?php __('models'); ?></a></li>	   					
				</ul>	  
		</div>
</div>
<div class="kt-md-content">
	<?php if (isset($configuration)){ ?>
		<div class="kt-md-configuracion">
			 	
			 	<div class="bd lst-form">
				 	  <table>
				 	  <tr>
					 	  <td> <p>  <strong> <?php __('configuration_name') ?> </strong></p>
					 	       <p> <?php echo $configuration["name"] ?></p>
					 	  </td>     
					 	  <td> 
					 	    <p> <strong><?php __('configuration_directory') ?> </strong></p>
					 	    <p> <?php echo $configuration["directory"] ?></p>
					 	  </td>	 	  
				 	  </tr>	 	  
				 	  </table>
				</div>
		</div>
	 <?php } ?>
	 
 <?php if (!is_writable(MODELS)) { ?>					
		  		<div class="kt-md  configuration_error">
		  		<div class="bd">
						<p class="error_msg"> <?php  __('Your directory  is NOT writable.'); ?> 
				  				<?php  __('generation  will not work correctly'); ?>
				 		</p> 
				 </div>
			 	</div>
<?php	} ?>
	 
	 
	<div class="kt-md">
		<div class="hd"> 
			<h2> <?php __('models_title') ?></h2>
		</div>
	</div>
	
	 
	
	<?php if (isset($tables)){ ?>
	<div class="kt-md">
		<div class="hd">
			<h3> <?php __('title_tables') ?></h3>
		</div>
		<div class="bd">
			 
			<table class="lst-info"> 
				<tr class="form-field">
					 
					<th> <?php __('table_name') ?></th>
				</tr>
				<?php foreach ($tables as $table) {?>
				<tr class="form-field"> 
					<td><?php echo $html->link($table, $ruta_admin."generate/". $table); ?></td> 
				</tr>
				<?php } ?>
			</table>
		</div>
		<div class="ft"></div>
	</div>
	<?php } ?>
</div>